package day07;
//重载的演示
public class OverLoadDemo {
    public static void main(String[] args) {
        show();
        show(16);
        show("zhangsan",16);
        show(16,"zhangsan");
        show("zhangsan");

    }
    public static void show(){ }
    public static void show(int age){}
    public static void show(String name,int age){}
    public static void show(int age,String name){}
    public static void show(String name){}

    //public static int show(){return 1;}//重载与返回值无关
    //public static void show(String address){}//重载与参数名称无关






}
